<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<title>Painel de Controle</title>
</h:head>
<h:body>
		<!-- before of the MENU -->
		<ui:composition>
		<!-- Begin of the MENU -->
		<h:form>
			<p:toolbar>
				<p:toolbarGroup align="left">
					<p:commandButton type="button" value="Home" />
					<p:menuButton value="Cadastros">
						<p:menuitem value="Pessoa"  ajax="true" onclick="#{MBPage.changeForPeople()}" />
						<p:menuitem value="Centros" url="#" />
					</p:menuButton>
					<p:menuButton value="Relatórios">
						<p:menuitem value="Pessoa" onclick="cadastroPessoa.show()" />
						<p:menuitem value="Centros" url="#" />
					</p:menuButton>
					<p:separator />
					<p:commandButton type="button" title="Save" icon="ui-icon-disk" />
					<p:commandButton type="button" title="Delete" icon="ui-icon-trash" />
					<p:commandButton type="button" title="Print" icon="ui-icon-print" />
				</p:toolbarGroup>
				<p:toolbarGroup align="right">
					<p:menuButton value="Options">
						<p:menuitem value="Home" url="#" />
						<p:menuitem value="ShowCase" url="#" />
						<p:menuitem value="TouchFaces" url="#" />
					</p:menuButton>
				</p:toolbarGroup>
			</p:toolbar>
		</h:form>
		<!-- END of the MENU -->
		</ui:composition>
		<!-- after of the MENU -->
</h:body>
</html>